home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / QuickTime VR / MacOS / QuickDraw™ 3D 1.0.6F4 SDK / Samples / SampleCode / Unsupported Libraries / PackBytes.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-03-05  |  908 b   |  40 lines  |  [TEXT/MPS ]

  1. #pragma once
  2. /******************************************************************************
  3.  **                                                                             **
  4.  **     Module:        PackBytes.h                                                 **
  5.  **                                                                          **
  6.  **                                                                          **
  7.  **                                                                          **
  8.  **     Purpose:                                                              **
  9.  **                                                                          **
  10.  **                                                                          **
  11.  **                                                                          **
  12.  **     Copyright (C) 1992, 1993 Apple Computer, Inc.  All rights reserved.     **
  13.  **                                                                          **
  14.  **                                                                          **
  15.  *****************************************************************************/
  16. #ifndef PackBytes_h
  17. #define PackBytes_h
  18.  
  19.  
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif    /* __cplusplus */
  23.  
  24. unsigned long PackBytes(
  25.     char            *from, 
  26.     char            *to, 
  27.     unsigned long     nBytes);
  28.     
  29. void UnpackBytes(
  30.     char            *src, 
  31.     char            *dst, 
  32.     unsigned long     nBytes);
  33.  
  34. #ifdef __cplusplus
  35. }    /* end extern "C" */
  36. #endif    /* __cplusplus */
  37.  
  38.  
  39. #endif    /* PackBytes_h */
  40.